﻿using System;
using System.Collections.Generic;
using System.Text;
using Meqs.Entity;

namespace Meqs.Logic.Interface
{
    public interface IMoralityRemarkLogic : ICommonLogic<MoralityRemark, int>
    {
        /// <summary>
        /// 获取指定学生指定评价单的指定备注
        /// </summary>
        /// <param name="studentID"></param>
        /// <param name="reportType"></param>
        /// <param name="year"></param>
        /// <param name="month"></param>
        /// <param name="schoolYear"></param>
        /// <param name="term"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        MoralityRemark GetRemarkByStudent(int studentID, int reportType, int year,
                                                      int month, int? schoolYear, int? term, string schoolMark);

        /// <summary>
        /// 保存
        /// </summary>
        /// <param name="moralityRemark"></param>
        /// <param name="schoolMark"></param>
        /// <returns></returns>
        int InsertMoralityRemark(MoralityRemark moralityRemark, string schoolMark);
    }
}
